<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="com.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="com.error-handling.html">Errors and error handling</a></div>
 <div class="up"><a href="book.com.html">COM</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="com.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <dl>

  
   <dt>

    <strong><code>CLSCTX_INPROC_SERVER</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLSCTX_INPROC_HANDLER</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLSCTX_LOCAL_SERVER</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLSCTX_REMOTE_SERVER</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLSCTX_SERVER</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLSCTX_ALL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_NULL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_EMPTY</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_UI1</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_I2</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_I4</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_R4</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_R8</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_BOOL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_ERROR</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_CY</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_DATE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_BSTR</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_DECIMAL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_UNKNOWN</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_DISPATCH</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_VARIANT</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_I1</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_UI2</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_UI4</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_INT</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_UINT</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_ARRAY</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>VT_BYREF</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CP_ACP</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CP_MACCP</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CP_OEMCP</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CP_UTF7</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CP_UTF8</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CP_SYMBOL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt>

    <strong><code>CP_THREAD_ACP</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  

  
   <dt>
<strong><code>VARCMP_LT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  
  
   <dt>
<strong><code>VARCMP_EQ</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  
  
   <dt>
<strong><code>VARCMP_GT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  
  
   <dt>
<strong><code>VARCMP_NULL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  

  
   <dt>
<strong><code>NORM_IGNORECASE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  
  
   <dt>
<strong><code>NORM_IGNORENONSPACE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  
  
   <dt>
<strong><code>NORM_IGNORESYMBOLS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  
  
   <dt>
<strong><code>NORM_IGNOREWIDTH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  
  
   <dt>
<strong><code>NORM_IGNOREKANATYPE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  
  
   <dt>
<strong><code>NORM_IGNOREKASHIDA</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  

  
   <dt>
<strong><code>DISP_E_DIVBYZERO</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  
  
   <dt>
<strong><code>DISP_E_OVERFLOW</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  

  
   <dt>
<strong><code>MK_E_UNAVAILABLE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)</dt>

   <dd>
<span class="simpara"/></dd>

  

 </dl>

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="com.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="com.error-handling.html">Errors and error handling</a></div>
 <div class="up"><a href="book.com.html">COM</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
